package cn.ssm_05.entity;

import java.util.List;

import org.springframework.stereotype.Component;

/**
 * 实体类
 * 
 * @author Administrator
 *
 */

@Component("helloSpring")
public class HelloSpring {

	private String name;
	private int age;

	private List<String> citys;

	public List<String> getCitys() {
		return citys;
	}

	public void setCitys(List<String> citys) {
		this.citys = citys;
	}

	public HelloSpring() {
	}

	public HelloSpring(String name, int age) {
		super();
		this.name = name;
		this.age = age;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public void say() {
		System.out.println(name);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
